package com.situ.stmall.manger.service;


import com.situ.stmall.manger.entity.Admin;

public interface AdminService {
    /**
     * 管理员登陆
     * @param admin
     * @return
     * @throws Exception
     */
    Admin login(Admin admin) throws Exception;

    /**
     * 修改密码
     * @param id
     * @param oldPassword
     * @param newPassword
     * @param reptPassword
     * @return
     */
    Admin modifyPwd(Integer id,String oldPassword,String newPassword,String reptPassword) throws Exception;

    /**
     * 修改信息
     * @param admin
     * @return
     */
    int edit(Admin admin) throws Exception;


}
